package org.jeecg.modules.bank.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户银行卡
 * @Author: jeecg-boot
 * @Date:   2024-08-25
 * @Version: V1.0
 */
@Data
@TableName("yc_userhome_bank")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yc_userhome_bank对象", description="用户银行卡")
public class YcUserhomeBank implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**平台用户id*/
	@Excel(name = "平台用户id", width = 15)
    @ApiModelProperty(value = "平台用户id")
    private java.lang.Integer userhomeId;
	/**0 银行卡 1支付宝 2微信 */
	@Excel(name = "0 银行卡 1支付宝 2微信 ", width = 15)
    @ApiModelProperty(value = "0 银行卡 1支付宝 2微信 ")
    private java.lang.Integer type;
	/**账号姓名*/
	@Excel(name = "账号姓名", width = 15)
    @ApiModelProperty(value = "账号姓名")
    private java.lang.String accountName;
	/**银行名称*/
	@Excel(name = "银行名称", width = 15)
    @ApiModelProperty(value = "银行名称")
    private java.lang.String bankName;
	/**银行卡号*/
	@Excel(name = "银行卡号", width = 15)
    @ApiModelProperty(value = "银行卡号")
    private java.lang.String bankNumber;
	/**0未审核 1通过 2拒绝*/
	@Excel(name = "0失效 1正常", width = 15)
    @ApiModelProperty(value = "0失效 1正常")
    private java.lang.Integer status;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createtime;
	/**银行卡类型id*/
	@Excel(name = "银行卡类型id", width = 15)
    @ApiModelProperty(value = "银行卡类型id")
    private java.lang.Integer bankTypeId;
	/**审核时间*/
	@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date verifytime;
	/**银行预留电话*/
	@Excel(name = "银行预留电话", width = 15)
    @ApiModelProperty(value = "银行预留电话")
    private java.lang.String phone;
	/**对应银盛银行id yc_yingsheng_bank表的id*/
	@Excel(name = "对应银盛银行id yc_yingsheng_bank表的id", width = 15)
    @ApiModelProperty(value = "对应银盛银行id yc_yingsheng_bank表的id")
    private java.lang.Integer yingshengbankid;

    @TableLogic
    private java.lang.Integer isDel;

    @TableField(exist = false)
    private java.lang.String iconUrl;

    @ApiModelProperty(value = "银行卡正面")
    private java.lang.String bankBeforeUrl;

    @ApiModelProperty(value = "银行卡反面")
    private java.lang.String bankAfterUrl;

    @TableField(exist = false)
    @ApiModelProperty(value = "用户邮箱")
    private java.lang.String username;
}
